* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	color: #2c2c2c;
	font-size: 14px;
	line-height: inherit;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	color: #fff;
}


/*头部*/

header {
	width: 100%;
	position: relative;
	z-index: 2;
	position: fixed;
	transition: all 1s;
}

.navbar {
	padding-top: 20px;
	padding-left: 0px;
	padding: 0.625rem 0px;
	padding-top: 20px;
}

.navbar-brand {
	font-size: 14px;
}

.navbar-brand,
.nav-link {
	color: #F4F6F6 !important;
}

.nav-item:hover {
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.main {
	width: 100%;
}


/*banner*/

.banner {
	width: 100%;
	height: 550px;
	background: url(../img/cc-bg-1.jpg) no-repeat;
	background-size: cover;
	color: #fff;
}

.banner .wrapper {
	width: 100%;
	height: 100%;
	background: rgba(17, 34, 17, 0.7);
	padding-top: 8%;
	text-align: center;
}

.banner .img {
	position: relative;
}

.banner .img .guang {
	display: inline-block;
	height: 150px;
	width: 150px;
	border-radius: 50%;
	box-shadow: 0px 0px 17px rgba(55, 140, 63, 0.6);
	animation: myfirst 2s infinite linear;
}

.banner .img .touxiang img {
	border-radius: 50%;
	height: 150px;
	width: 150px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	transition: all .3s;
}

@keyframes myfirst {
	0% {
		box-shadow: 0px 0px 17px rgba(55, 140, 63, 1);
	}
	25% {
		box-shadow: 0px 0px 37px rgba(48, 145, 90, 0);
	}
	50% {
		box-shadow: 0px 0px 37px rgba(12, 232, 33, 0);
	}
	100% {
		box-shadow: 0px 0px 17px rgba(22, 211, 63, 1);
	}
}


/*联系方式*/

.contact,
.download {
	display: inline-block;
	width: 140px;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	margin: 5px 5px;
	border-radius: 5px;
	padding: 11px 22px;
	cursor: pointer;
	background-color: #378C3F;
	color: #FFFFFF;
}

.contact:hover,
.download:hover {
	background-color: #40A249;
}


/*自我介绍*/

.about,
.skill,
.gallery,
.project,
.liaison {
	margin-top: 100px;
}

.about-bottom,
.skill-bottom {
	padding-top: 20px;
	box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
}

.about-left,
.about-right,
.skill-left,
.skill-right {
	padding-left: 20px;
	padding-right: 20px;
}

.about h4,
.skill h4,
.gallery h4,
.project h4 {
	font-weight: 700;
	line-height: 30px;
	margin-bottom: 20px;
}

.about p {
	font-weight: bolder;
	color: #2c2c2c;
}


/*专业技能*/

.skill-left p {
	overflow: hidden;
}

.skill-left p span {
	color: #378C3F;
	font-size: 18px;
}

.skill-left p span:last-child {
	float: right;
}

.skill-left .progress {
	width: 100%;
	height: 5px;
	background: rgba(55, 140, 63, 0.4);
	position: relative;
}

.skill-left .progress .bar {
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	height: 5px;
	background: #378C3F;
	transition: all 1s;
}

.skill-left {
	margin-bottom: 20px;
}


/*作品展示*/

.gallery .list {
	width: 210px;
	overflow: hidden;
	margin: 30px auto;
}

.gallery .list li {
	float: left;
	width: 50px;
	height: 50px;
	line-height: 50px;
	color: #9A9A9A;
	border-radius: 50%;
	text-align: center;
	margin: 0 10px;
	cursor: pointer;
}

.gallery .list .active {
	background: #378C3F;
	color: #fff;
}

.xm-left,
.xm-right {
	box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.3);
}

.xm-left a,
.xm-right a {
	display: inline-block;
}

.xm-left,
.xm-right,
.xm-left a img,
.xm-right a img {
	width: 100%;
}

.xm-left a img {
	height: 352px;
}

.xm-right a img {
	height: 325px;
}

.gallery-bottom>div {
	display: none;
}

.gallery-bottom .active {
	display: block;
}

.gallery-bottom .xm-left,
.gallery-bottom .xm-right {
	position: relative;
}

.details a {
	display: inline-block;
	width: 0px;
	height: 0px;
	background: rgba(27, 23, 23, 0.5);
	color: #fff;
	position: absolute;
	top: 10px;
	left: 10px;
	transition: all .3s;
	z-index: -1;
	padding: 0 10px;
}

.details .title {
	font-size: 18px;
	font-weight: bolder;
	margin-top: 70px;
}

.gallery-bottom .xm .xm-left:hover .details>a {
	width: 520px;
	height: 330px;
	z-index: 1;
}

.gallery-bottom .xm .xm-right:hover .details>a {
	width: 520px;
	height: 300px;
	z-index: 1;
}


/*项目经历*/

.project-title {
	transform: translateX(-80px);
	transition: all .3s;
	height: 170px;
}

.project-title a {
	display: inline-block;
	width: 100%;
	height: 100%;
}

.project-title a img {
	width: 100%;
	height: 100%;
}

.learn,
.life,
.work {
	box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
}

.project-detail {
	padding: 20px;
	transform: translateX(90px);
	transition: all .3s;
}

.project-detail h5 {
	font-size: 18px;
	color: #000;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jishu p {
	margin-bottom: 10px;
}

.learn .col-md-3,
.learn .col-md-9 {
	overflow: hidden;
}


/*联络我*/

.liaison {
	width: 100%;
	height: 450px;
	background: url(../img/map.png) no-repeat;
	background-size: 100%;
	position: relative;
}

.lia-me {
	width: 600px;
	height: 300px;
	position: absolute;
	top: 10%;
	left: 25%;
	background: #fff;
	transform: translateY(100px);
	transition: all 1s;
}

.lia-me h4 {
	margin-top: 30px;
	margin-bottom: 15px;
	font-weight: bold;
}

.lia-left,
.lia-right {
	padding: 30px;
}

.card-me {
	margin-bottom: 35px;
}

.card-me h5 {
	font-weight: bolder;
	font-size: 15px;
	color: #2C2C2C;
}

.card-me p {
	color: #7F7F7F;
}

.btn {
	font-size: 12px;
	padding: 10px 25px;
}


/*footer*/

footer h4 {
	font-weight: bold;
}

footer p {
	color: #868E96;
}

@media only screen and (max-width:600px) {
	/*导航*/
	.banner .wrapper {
		padding-top: 25%;
	}
	.navbar-light .navbar-toggler {
		border: 0px;
	}
	.navbar-light .navbar-toggler-icon {
		background-image: none;
	}
	.fa-bars {
		color: #fff;
	}
	.about,
	.skill {
		margin-top: 50px;
	}
	.about-left .col-md-4,
	.about-right .col-md-4 {
		width: 40%;
	}
	.about-left .col-md-8,
	.about-right .col-md-8 {
		width: 60%;
	}
	.about h4,
	.skill h4 {
		margin-bottom: 20px !important;
	}
	.xm-left a img {
		height: 250px;
	}
	.liaison {
		height: 420px;
		background-size: cover;
	}
	.lia-me {
		width: 255px;
		height: 325px;
		top: 10%;
		left: 10%;
	}
	.lia-left,
	.lia-right {
		padding: 0 0 0 30px;
	}
	.card-me {
		margin-bottom: 20px;
	}
}